# common variables for Cray XT
SET(QMC_BITS 64)
ADD_DEFINITIONS(-DADD_ -DINLINE_ALL=inline -D_CRAYMPI -DDOUBLE_PREC)

IF($ENV{PE_ENV} MATCHES "GNU")
  SET(HAVE_SSE 1)
  SET(HAVE_SSE2 1)
  SET(HAVE_SSE3 1)
  SET(HAVE_SSSE3 1)
  SET(USE_PREFETCH 1)
  SET(PREFETCH_AHEAD 12)
ELSE($ENV{PE_ENV} MATCHES "GNU")
  ADD_DEFINITIONS(-DPGI)
ENDIF($ENV{PE_ENV} MATCHES "GNU")

#SET(BLAS_LIBRARY -lacml)
#SET(LAPACK_LIBRARY -lacml_mv)
#SET(HAVE_MPI 1)
#SET(HAVE_OOMPI 1)
#set(HAVE_SHMEM 1)
#set(HAVE_FORTRAN 1)
#SET(HAVE_ACML 1)
#MARK_AS_ADVANCED(
#  LAPACK_LIBRARY 
#  BLAS_LIBRARY 
#)
